{include file="../Common/header.html"}
	<link rel="stylesheet" href="./Public/Home/Css/member.css" />
	<script type="text/javascript" src='./Public/Home/Js/member.js'></script>
{include file="../Common/nav.html"}
<!--------------------中部-------------------->
	<div id='center'>
{include file="../Common/memberLeft.html"}
		<div id='right'>
			<p class='title'>我的提问</p>
			<ul class='ask-filter'>
				<li {if !$smarty.get.w}class='cur'{/if}><a href="./index.php?c=member&a=my_ask&uid={$smarty.get.uid}">待解决问题</a></li>
				<li {if $smarty.get.w ==1}class='cur'{/if}><a href="./index.php?c=member&a=my_ask&uid={$smarty.get.uid}&w=1">已解决问题</a></li>
			</ul>
			<div class='list list-filter'>
				<table>
				{if !$myAsk}
					<tr height='140'>
						<td>{if !$smarty.get.w}你还没有待解决的提问{else}你还没有已解决的提问{/if}</td>
					</tr>
				{else}
					<tr>
						<th class='t1'>标题</th>
						<th>回答数</th>
						<th class='t3'>更新时间</th>
					</tr>
					{foreach from=$myAsk item=v}
					<tr>
						<td class='t1'>
							<a href="./index.php?c=show&asid={$v.asid}">{$v.content}</a><span>[{$v.title}]</span>
						</td>
						<td>{$v.answer}</td>
						<td class='t3'>{$v.time|date_format:"%Y-%m-%d %H:%M"}</td>
					</tr>
					{/foreach}
				{/if}
				</table>
			</div>
			<div class='list list-filter hidden'>
				<table>
					
					<tr height='140'>
						<td>你还没有已解决的提问</td>
					</tr>
					<tr>
						<th class='t1'>标题</th>
						<th>回答</th>
						<th class='t3'>更新时间</th>
					</tr>

					<tr>
						<td class='t1'>
							<a href=""></a><span>[电脑/硬件]</span>
						</td>
						<td>20</td>
						<td class='t3'>2014-9-4</td>
					</tr>
				</table>
			</div>
		</div>
	</div>
<!--------------------中部结束-------------------->
{include file="../Common/footer.html"}